package com.ovt.doorbell.payment.dao.vo;

import com.ovt.doorbell.payment.dao.constant.ResourceType;

public class Resource extends BaseEntity
{
    private String code;
    
    private String name;
    
    private ResourceType type;
    
    private int size;
    
    private float price;
    
    private String unit;

    public String getCode()
    {
        return code;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public int getSize()
    {
        return size;
    }

    public void setSize(int size)
    {
        this.size = size;
    }

    public float getPrice()
    {
        return price;
    }

    public void setPrice(float price)
    {
        this.price = price;
    }

    public String getUnit()
    {
        return unit;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public ResourceType getType()
    {
        return type;
    }

    public void setType(ResourceType type)
    {
        this.type = type;
    }
    
    
}
